package com.chainyoung.component_tmtrade.bean;

import java.util.List;

public class OrderDetail {


    /**
     * id : 129395
     * status : 0
     * userid : PjKnjd9kwSdN739eK3AZ0OML/Vahqg/u7la6AtY
     * peerid : PjKnjd9kwSdN73QIfXQc1OUK/AHyrQi16Fa6Atc
     * order_no : a00129395
     * reference_no : 123456
     * type : 1
     * num : 100.00000000
     * mun : 100.00000000
     * price : 121.00000000
     * price_cny : 583.75240000
     * bank_msg : [{"id":84,"name":"test","bankcard":"121212112121","type":1,"bank_id":1,"bankaddr":"121212112121","bank":"中国"},{"id":85,"name":"111","bankcard":"olpkiokmiom","type":2,"receivables_code":"jdsklfjklsdjflkj.jpg"},{"id":86,"name":"12112","bankcard":"sdfsdfdsf","type":3,"receivables_code":null}]
     * need_voucher : 0
     * voucherimg : abc.jpg
     * updatetime : 1522639442
     * coin : BIT
     * countdown : 0
     * current_user_id : PjKnjd9kwSdN739eK3AZ0OML/Vahqg/u7la6AtY
     * complain : 1
     * is_trust : false
     * is_shield : false
     */

    private long id;//	订单id
    private int status;//	订单状态
    private String userid;//	下单用户id
    private String peerid;//	对方用户id
    private String orderno;//	订单编号
    private String reference_no;//付款参考号
    private int type;//	订单类型
    private String num;//	交易数量
    private String mun;//	交易额
    private String price;//	单价
    private String price_cny;//	人民币单价
    private int need_voucher;//是否需要付款凭证，0：不需要；1：需要
    private String voucherimg;//凭证
    private String updatetime;//订单状态更新时间
    private String coin;//	币种
    private String countdown;//倒计时
    private String current_user_id;//	当前登录用户id
    private int complain;//是否申诉中，0：正常；1：申诉中
    private boolean is_trust;//	是否信任
    private boolean is_shield;//是否屏蔽
    private List<BankMsgBean> bank_msg;
    private String coinname;//币种名称
    private String 	typename;//买入 卖出
    private String uid;//交易对象用户id
    private String username;//交易对象
    private boolean has_paid;
    private Long addtime;
    private String mum_cny;//合计金额


    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getPeerid() {
        return peerid;
    }

    public void setPeerid(String peerid) {
        this.peerid = peerid;
    }

    public String getReference_no() {
        return reference_no;
    }

    public void setReference_no(String reference_no) {
        this.reference_no = reference_no;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getMun() {
        return mun;
    }

    public void setMun(String mun) {
        this.mun = mun;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getPrice_cny() {
        return price_cny;
    }

    public void setPrice_cny(String price_cny) {
        this.price_cny = price_cny;
    }

    public int getNeed_voucher() {
        return need_voucher;
    }

    public void setNeed_voucher(int need_voucher) {
        this.need_voucher = need_voucher;
    }

    public String getVoucherimg() {
        return voucherimg;
    }

    public void setVoucherimg(String voucherimg) {
        this.voucherimg = voucherimg;
    }


    public String getCoin() {
        return coin;
    }

    public void setCoin(String coin) {
        this.coin = coin;
    }


    public String getCurrent_user_id() {
        return current_user_id;
    }

    public void setCurrent_user_id(String current_user_id) {
        this.current_user_id = current_user_id;
    }

    public int getComplain() {
        return complain;
    }

    public void setComplain(int complain) {
        this.complain = complain;
    }

    public boolean isIs_trust() {
        return is_trust;
    }

    public void setIs_trust(boolean is_trust) {
        this.is_trust = is_trust;
    }

    public boolean isIs_shield() {
        return is_shield;
    }

    public void setIs_shield(boolean is_shield) {
        this.is_shield = is_shield;
    }

    public List<BankMsgBean> getBank_msg() {
        return bank_msg;
    }

    public void setBank_msg(List<BankMsgBean> bank_msg) {
        this.bank_msg = bank_msg;
    }

    public String getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(String updatetime) {
        this.updatetime = updatetime;
    }

    public String getCountdown() {
        return countdown;
    }

    public void setCountdown(String countdown) {
        this.countdown = countdown;
    }

    public String getOrderno() {
        return orderno;
    }

    public void setOrderno(String orderno) {
        this.orderno = orderno;
    }

    public String getCoinname() {
        return coinname;
    }

    public void setCoinname(String coinname) {
        this.coinname = coinname;
    }

    public String getTypename() {
        return typename;
    }

    public void setTypename(String typename) {
        this.typename = typename;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public boolean isHas_paid() {
        return has_paid;
    }

    public void setHas_paid(boolean has_paid) {
        this.has_paid = has_paid;
    }

    public Long getAddtime() {
        return addtime;
    }

    public void setAddtime(Long addtime) {
        this.addtime = addtime;
    }

    public String getMum_cny() {
        return mum_cny;
    }

    public void setMum_cny(String mum_cny) {
        this.mum_cny = mum_cny;
    }

    public static class BankMsgBean {
        /**
         * id : 84
         * name : test
         * bankcard : 121212112121
         * type : 1
         * bank_id : 1
         * bankaddr : 121212112121
         * bank : 中国
         * receivables_code : jdsklfjklsdjflkj.jpg
         */

        private long id;//收款地址id
        private String name;//用户名
        private String bankcard;//银行卡号，或者支付宝或微信账号
        private int type;//类型
        private int bank_id;//	银行id
        private String bankaddr;//	银行名称(中英自动切换)
        private String bank;//收款二维码
        private String receivables_code;//支行地址


        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getBankcard() {
            return bankcard;
        }

        public void setBankcard(String bankcard) {
            this.bankcard = bankcard;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getBank_id() {
            return bank_id;
        }

        public void setBank_id(int bank_id) {
            this.bank_id = bank_id;
        }

        public String getBankaddr() {
            return bankaddr;
        }

        public void setBankaddr(String bankaddr) {
            this.bankaddr = bankaddr;
        }

        public String getBank() {
            return bank;
        }

        public void setBank(String bank) {
            this.bank = bank;
        }

        public String getReceivables_code() {
            return receivables_code;
        }

        public void setReceivables_code(String receivables_code) {
            this.receivables_code = receivables_code;
        }

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }
    }
}
